package com.changgou.File;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author:
 * 封装文件上传信息
 *
 */
@Data
public class FastDFSFile implements Serializable {
    //文件名
    private String name;
    //文件内容
    private byte[] content;
    //文件扩展名
    private String ext;
    //MD5
    private String MD5;
    //作者
    private String author;

    public FastDFSFile(String name, byte[] content, String ext) {
        this.name = name;
        this.content = content;
        this.ext = ext;
    }
}
